import store from '@/store'
export const checkPermMixin = {
  methods: {
    checkperm(pointName) {
      return store.state.user.userinfo.roles && store.state.user.userinfo.roles.points.includes(pointName)
    }
  }
}
